﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Pageparkproject.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/
        Models.Stories St = new Models.Stories();
        Models.tblSetting setting = Models.Stories.GetPageSetting();

        public ActionResult Index()
        {
            ViewBag.Img = setting.sImageIndex;
            ViewBag.Colorbar = setting.sColorBar;
            return View();
        }
        public ActionResult About()
        {
            ViewBag.About = setting.sGioithieu;
            return View();
        }
    }
}
